import 'package:flutter/material.dart';

class Header extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Color(0xff2296f3),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceAround,
        children: <Widget>[
          Icon(
            Icons.search,
            color: Colors.white,
          ),
          // _tabItem('帖子', 0),
          // _tabItem('医生', 1)
        ],
      ),
      height: 50,
      padding: EdgeInsets.only(right: 70),
    );
  }
}
